package bit1;

import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;

public class home2 {
    public static void main(String[] args) {
        int a=8;
        System.out.println(a>>>1);
        int b=-1;
        System.out.println(b >>> 1);
        List<Integer> str=new LinkedList<>();
    }
    public static void main10(String[] args) {
        boolean bool=false;
        System.out.println(bool);
    }
    public static void main9(String[] args) {
        char ch='呵';
        System.out.println(ch);
    }
    public static void main8(String[] args) {
        float num = 1.0F;
        System.out.println(num);
    }
    public static void main7(String[] args) {
        double num = 1.1;
        System.out.println(num * num);
    }
    public static void main6(String[] args) {
        double a = 1.0;
        int b = 2;
        System.out.println(a / b);
    }
    public static void main5(String[] args) {
        System.out.println(Long.MAX_VALUE);
        System.out.println(Long.MIN_VALUE);
    }
    public static void main4(String[] args) {
        System.out.println(Short.MIN_VALUE+5);
        System.out.println(Short.MAX_VALUE+5);
    }
    public static void main3(String[] args) {
        System.out.println(Byte.MAX_VALUE);
        System.out.println(Byte.MIN_VALUE);
    }
    public static void main2(String[] args) {
        System.out.println(Integer.MAX_VALUE+1);
        System.out.println(Integer.MIN_VALUE-1);
    }
    public static int[] transForm(int[] arr){
        int start=0;
        int end=arr.length-1;
        while (start<end){
            while (start<end&&arr[start]%2==0){
                start++;
            }
            while (start<end&&arr[end]%2!=0){
                end--;
            }
            int tmp=arr[start];
            arr[start]=arr[end];
            arr[end]=tmp;
        }
        return arr;
    }
    public static void main1(String[] args) {
        int arr[]={1,5,6,8,9,4,5,6,8,8,6,154,5,45};
        String str= Arrays.toString(transForm(arr));
        System.out.println(str);
    }
}
